package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;

import com.alibaba.fastjson.annotation.JSONField;

import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the CC_TRIM database table.
 * 
 */
@Entity
@Table(name="CC_TRIM")
@NamedQuery(name="CcTrim.findAll", query="SELECT c FROM CcTrim c")
public class CcTrim implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(allocationSize=1,name="CC_TRIM_TRIMID_GENERATOR", sequenceName="SEQHIS")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="CC_TRIM_TRIMID_GENERATOR")
	private long trimid;

	@Temporal(TemporalType.DATE)
	@JSONField(format="yyyy/MM/dd")
	private Date hadate;

	private BigDecimal newberthid;

	private BigDecimal oldberthid;

	private BigDecimal thandleid;

	private BigDecimal trpatientid;

	private String ttremarks;

	public CcTrim() {
	}

	public long getTrimid() {
		return this.trimid;
	}

	public void setTrimid(long trimid) {
		this.trimid = trimid;
	}

	public Date getHadate() {
		return this.hadate;
	}

	public void setHadate(Date hadate) {
		this.hadate = hadate;
	}

	public BigDecimal getNewberthid() {
		return this.newberthid;
	}

	public void setNewberthid(BigDecimal newberthid) {
		this.newberthid = newberthid;
	}

	public BigDecimal getOldberthid() {
		return this.oldberthid;
	}

	public void setOldberthid(BigDecimal oldberthid) {
		this.oldberthid = oldberthid;
	}

	public BigDecimal getThandleid() {
		return this.thandleid;
	}

	public void setThandleid(BigDecimal thandleid) {
		this.thandleid = thandleid;
	}

	public BigDecimal getTrpatientid() {
		return this.trpatientid;
	}

	public void setTrpatientid(BigDecimal trpatientid) {
		this.trpatientid = trpatientid;
	}

	public String getTtremarks() {
		return this.ttremarks;
	}

	public void setTtremarks(String ttremarks) {
		this.ttremarks = ttremarks;
	}

}